const TOKEN_KEY = 'token_name'

//增
export const setToken = (token: string) => {
      localStorage.setItem(TOKEN_KEY, token)
}
//获取
export const getToken = () => {
      return localStorage.getItem(TOKEN_KEY)
}

//删
export const delToken = () => {
      localStorage.removeItem(TOKEN_KEY)
}